-
Notifications
You must be signed in to change notification settings - Fork 619
feat: auto-resolve entrypoint address from factory #5123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: auto-resolve entrypoint address from factory #5123
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 364d97e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @joaquim-verges and the rest of your teammates on |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5123 +/- ##
==========================================
+ Coverage 45.28% 45.30% +0.02%
==========================================
Files 1060 1060
Lines 54841 54874 +33
Branches 3957 3957
==========================================
+ Hits 24835 24862 +27
- Misses 29315 29320 +5
- Partials 691 692 +1
*This pull request uses carry forward flags. Click here to find out more.
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on updating the `smartWallet` integration to automatically resolve the entrypoint address from the account factory when available, enhancing usability and simplifying the configuration for users.
### Detailed summary
- Replaced `ENTRYPOINT_ADDRESS_v0_7` with `DEFAULT_ACCOUNT_FACTORY_V0_7` in the `smartWallet` configuration.
- Updated documentation to reflect changes in how to use the `smartWallet` with the factory.
- Added logic to resolve the entrypoint address from the factory if not provided.
- Introduced a new function `getEntrypointFromFactory` to fetch the entrypoint address from the account factory contract.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
fe0ce86 to
364d97e
Compare
Merge activity
|

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the
smartWalletintegration by automatically resolving the entrypoint address from the factory when it's available, simplifying the wallet setup process.Detailed summary
entrypointAddressoverride withfactoryAddressinsmart-wallet-integration-v07.test.ts.entrypointAddressoption.connectSmartWallet.getEntrypointFromFactoryto fetch the entrypoint address from the specified factory contract.